﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLPM.DAO;
using QLPM.DTO;

namespace QLPM.BUS
{
    public class LoaiBenhBUS
    {
        public List<LoaiBenh> DanhSachLoaiBenh()
        {
            return new LoaiBenhDAO().DanhSachLoaiBenh();
        }

        public int ThemLoaiBenh(LoaiBenh lb)
        {
            return new LoaiBenhDAO().ThemLoaiBenh(lb);
        }

        public int XoaLoaiBenh(LoaiBenh lb)
        {
            return new LoaiBenhDAO().XoaLoaiBenh(lb);
        }

        public int SuaLoaiBenh(LoaiBenh lb)
        {
            return new LoaiBenhDAO().SuaLoaiBenh(lb);
        }
    }
}
